﻿<Window x:Class="Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" Height="300" Width="527">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="36" />
            <ColumnDefinition Width="76" />
            <ColumnDefinition Width="362*" />
            <ColumnDefinition Width="31.5" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="23" />
            <RowDefinition Height="23" />
            <RowDefinition Height="23" />
            <RowDefinition Height="23" />
            <RowDefinition Height="23" />
            <RowDefinition Height="*" />
            <RowDefinition Height="35" />
        </Grid.RowDefinitions>
        <Label Name="Label1" Grid.Row="1" Grid.Column="1">First Name</Label>
        <TextBox Grid.Row="1" Name="TxtFirstName" Grid.Column="2"  />
        <Label Grid.Column="1" Grid.Row="2" Name="Label2">Last Name</Label>
        <TextBox Grid.Row="2" Name="TxtLastName" Grid.Column="2"  />
        <Label Grid.Column="1" Grid.Row="3" Name="Label3">Email</Label>
        <TextBox Grid.Row="3" Name="TxtEmail" Grid.Column="2"  />
        <Label Grid.Column="1" Grid.Row="4" Name="Label4">Phone</Label>
        <TextBox Grid.Row="4" Name="TxtPhone" Grid.Column="2"  />
        <Button Name="btnSubmit" 
                Grid.Row="6" Grid.ColumnSpan="4" 
                Click="btnSubmit_Click" Style="{DynamicResource ButtonStyle1}">Submit</Button>
    </Grid>
</Window>
